/*
 * XML Type:  XApplication
 * Namespace: http://www.seedwill.com/xul/applicatoin/
 * Java type: com.seedwill.xul.applicatoin.XApplication
 *
 * Automatically generated - do not modify.
 */
package com.seedwill.xul.applicatoin;


/**
 * An XML XApplication(@http://www.seedwill.com/xul/applicatoin/).
 *
 * This is a complex type.
 */
public interface XApplication extends com.seedwill.xul.core.XIdentified
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XApplication.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s790E6810E76A77BB212DD6D4DA094898").resolveHandle("xapplication2862type");
    
    /**
     * Gets the "title" element
     */
    java.lang.String getTitle();
    
    /**
     * Gets (as xml) the "title" element
     */
    org.apache.xmlbeans.XmlString xgetTitle();
    
    /**
     * True if has "title" element
     */
    boolean isSetTitle();
    
    /**
     * Sets the "title" element
     */
    void setTitle(java.lang.String title);
    
    /**
     * Sets (as xml) the "title" element
     */
    void xsetTitle(org.apache.xmlbeans.XmlString title);
    
    /**
     * Unsets the "title" element
     */
    void unsetTitle();
    
    /**
     * Gets the "type" element
     */
    java.lang.String getType();
    
    /**
     * Gets (as xml) the "type" element
     */
    org.apache.xmlbeans.XmlString xgetType();
    
    /**
     * True if has "type" element
     */
    boolean isSetType();
    
    /**
     * Sets the "type" element
     */
    void setType(java.lang.String type);
    
    /**
     * Sets (as xml) the "type" element
     */
    void xsetType(org.apache.xmlbeans.XmlString type);
    
    /**
     * Unsets the "type" element
     */
    void unsetType();
    
    /**
     * Gets the "mode" element
     */
    com.seedwill.xul.core.XApplicationMode.Enum getMode();
    
    /**
     * Gets (as xml) the "mode" element
     */
    com.seedwill.xul.core.XApplicationMode xgetMode();
    
    /**
     * Sets the "mode" element
     */
    void setMode(com.seedwill.xul.core.XApplicationMode.Enum mode);
    
    /**
     * Sets (as xml) the "mode" element
     */
    void xsetMode(com.seedwill.xul.core.XApplicationMode mode);
    
    /**
     * Gets the "defaultAction" element
     */
    com.seedwill.xul.widget.XAction getDefaultAction();
    
    /**
     * True if has "defaultAction" element
     */
    boolean isSetDefaultAction();
    
    /**
     * Sets the "defaultAction" element
     */
    void setDefaultAction(com.seedwill.xul.widget.XAction defaultAction);
    
    /**
     * Appends and returns a new empty "defaultAction" element
     */
    com.seedwill.xul.widget.XAction addNewDefaultAction();
    
    /**
     * Unsets the "defaultAction" element
     */
    void unsetDefaultAction();
    
    /**
     * Gets the "manuManager" element
     */
    com.seedwill.xul.widget.XMenuManager getManuManager();
    
    /**
     * True if has "manuManager" element
     */
    boolean isSetManuManager();
    
    /**
     * Sets the "manuManager" element
     */
    void setManuManager(com.seedwill.xul.widget.XMenuManager manuManager);
    
    /**
     * Appends and returns a new empty "manuManager" element
     */
    com.seedwill.xul.widget.XMenuManager addNewManuManager();
    
    /**
     * Unsets the "manuManager" element
     */
    void unsetManuManager();
    
    /**
     * Gets the "user" element
     */
    com.seedwill.xul.widget.XUser getUser();
    
    /**
     * True if has "user" element
     */
    boolean isSetUser();
    
    /**
     * Sets the "user" element
     */
    void setUser(com.seedwill.xul.widget.XUser user);
    
    /**
     * Appends and returns a new empty "user" element
     */
    com.seedwill.xul.widget.XUser addNewUser();
    
    /**
     * Unsets the "user" element
     */
    void unsetUser();
    
    /**
     * Gets the "session" element
     */
    com.seedwill.xul.widget.XSession getSession();
    
    /**
     * True if has "session" element
     */
    boolean isSetSession();
    
    /**
     * Sets the "session" element
     */
    void setSession(com.seedwill.xul.widget.XSession session);
    
    /**
     * Appends and returns a new empty "session" element
     */
    com.seedwill.xul.widget.XSession addNewSession();
    
    /**
     * Unsets the "session" element
     */
    void unsetSession();
    
    /**
     * Gets array of all "dbSource" elements
     */
    com.seedwill.xul.core.XDBSource[] getDbSourceArray();
    
    /**
     * Gets ith "dbSource" element
     */
    com.seedwill.xul.core.XDBSource getDbSourceArray(int i);
    
    /**
     * Returns number of "dbSource" element
     */
    int sizeOfDbSourceArray();
    
    /**
     * Sets array of all "dbSource" element
     */
    void setDbSourceArray(com.seedwill.xul.core.XDBSource[] dbSourceArray);
    
    /**
     * Sets ith "dbSource" element
     */
    void setDbSourceArray(int i, com.seedwill.xul.core.XDBSource dbSource);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "dbSource" element
     */
    com.seedwill.xul.core.XDBSource insertNewDbSource(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "dbSource" element
     */
    com.seedwill.xul.core.XDBSource addNewDbSource();
    
    /**
     * Removes the ith "dbSource" element
     */
    void removeDbSource(int i);
    
    /**
     * Gets array of all "dbSchemaSource" elements
     */
    com.seedwill.xul.core.XDBSchemaSource[] getDbSchemaSourceArray();
    
    /**
     * Gets ith "dbSchemaSource" element
     */
    com.seedwill.xul.core.XDBSchemaSource getDbSchemaSourceArray(int i);
    
    /**
     * Returns number of "dbSchemaSource" element
     */
    int sizeOfDbSchemaSourceArray();
    
    /**
     * Sets array of all "dbSchemaSource" element
     */
    void setDbSchemaSourceArray(com.seedwill.xul.core.XDBSchemaSource[] dbSchemaSourceArray);
    
    /**
     * Sets ith "dbSchemaSource" element
     */
    void setDbSchemaSourceArray(int i, com.seedwill.xul.core.XDBSchemaSource dbSchemaSource);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "dbSchemaSource" element
     */
    com.seedwill.xul.core.XDBSchemaSource insertNewDbSchemaSource(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "dbSchemaSource" element
     */
    com.seedwill.xul.core.XDBSchemaSource addNewDbSchemaSource();
    
    /**
     * Removes the ith "dbSchemaSource" element
     */
    void removeDbSchemaSource(int i);
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.seedwill.xul.applicatoin.XApplication newInstance() {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.seedwill.xul.applicatoin.XApplication newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.seedwill.xul.applicatoin.XApplication parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.seedwill.xul.applicatoin.XApplication parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.seedwill.xul.applicatoin.XApplication parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.seedwill.xul.applicatoin.XApplication parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.seedwill.xul.applicatoin.XApplication parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.seedwill.xul.applicatoin.XApplication parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.seedwill.xul.applicatoin.XApplication parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.seedwill.xul.applicatoin.XApplication parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.seedwill.xul.applicatoin.XApplication parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.seedwill.xul.applicatoin.XApplication parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.seedwill.xul.applicatoin.XApplication parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.seedwill.xul.applicatoin.XApplication parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.seedwill.xul.applicatoin.XApplication parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.seedwill.xul.applicatoin.XApplication parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.applicatoin.XApplication parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.seedwill.xul.applicatoin.XApplication parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.seedwill.xul.applicatoin.XApplication) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
